package edu.ynu.se.xiecheng.achitectureclass.GreenHouse.GreenhouseDao;

import edu.ynu.se.xiecheng.achitectureclass.GreenHouse.GreenhouseEntity.BigUser;

import edu.ynu.se.xiecheng.achitectureclass.common.dao.LogicDAO;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
public interface BigUserDAO extends LogicDAO<BigUser, Long> {
    Optional<BigUser> findByUsername(String username); // 根据用户名查找用户
}